package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 最爱喝兽奶
 * @create 2022/8/11
 **/
@TableName(value = "T_EXAM_QUESTION")
@Data
@Api("考试问题映射关系的实体类")
public class ExamQuestion implements Serializable {

    @TableId
    private String id;

    /**
     * 考试的id
     */
    @TableField(value = "exam_id")
    private String examId;

    /**
     * 问题的id
     */
    @TableField(value = "question_id")
    private String questionId;

    /**
     * 当前是第几套试卷
     */
    @TableField(value = "num")
    private Integer num;

    /**
     * 题目的分数，如果没有指定就是题目库里面题目的分数
     */
    @TableField(value = "score")
    private Integer score;

}
